package com.example.mybatispdemo.store.service;

import com.example.mybatispdemo.store.entity.Product_supplierEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ljp
 * @since 2022-10-31
 */
public interface IProduct_supplierService extends IService<Product_supplierEntity> {
    public Product_supplierEntity addItem(int productId,int supplierId);

    public List<Product_supplierEntity> getByProductId(int productId);

    public List<Product_supplierEntity> getBySupplierId(int supplierId);

    public Product_supplierEntity getEntity(int productId,int supplierId);

    public void deleteByProductId(int productId);

    public void deleteBySupplierId(int supplierId);
}
